package com.yh.homestay.common;

import com.yh.homestay.pojo.SysRole;

public class SysRoleEditResult {
    private Integer code;
    private String msg;
    private SysRole sysRole;
    private SysRoleEditResult updataMaterielSingle;

    @Override
    public String toString() {
        return "SysRoleEditResult{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", sysRole=" + sysRole +
                '}';
    }

    public SysRoleEditResult(Integer code, String msg, SysRole sysRole) {
        this.code = code;
        this.msg = msg;
        this.sysRole = sysRole;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public SysRole getSysRole() {
        return sysRole;
    }

    public void setSysRole(SysRole sysRole) {
        this.sysRole = sysRole;
    }

    public SysRoleEditResult getUpdataMaterielSingle() {
        return updataMaterielSingle;
    }

    public void setUpdataMaterielSingle(SysRoleEditResult updataMaterielSingle) {
        this.updataMaterielSingle = updataMaterielSingle;
    }
}
